﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MoneyWentWhere.WinFormsUI.UI.DataGrid
{
    public interface IAutoCompletePopupHost
    {
        /// <summary>
        /// Return focus to the host from the popup
        /// </summary>
        void ReturnFocus();

        event EventHandler TextChanged;
        String Text { get; set; }

        // NOTE: no event is posted when SelectionStart
        // changes, this property must be polled.
        int SelectionStart { get; }
    }
}
